package com.fsj.admin.system.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;



/**
 * 钱包
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2019-02-22 16:02:33
 */
public class WalletDO implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//主键
	private Long id;
	//用户id
	private Long userId;
	//钱包余额
	private BigDecimal amount;
	//保证金额
	private BigDecimal ensureAmount;
	//冻结金额
	private BigDecimal frozenAmount;
	//创建时间
	private Date createDate;
	//更新时间
	private Date updateDate;

	/**
	 * 设置：主键
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：主键
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：用户id
	 */
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	/**
	 * 获取：用户id
	 */
	public Long getUserId() {
		return userId;
	}
	/**
	 * 设置：钱包余额
	 */
	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}
	/**
	 * 获取：钱包余额
	 */
	public BigDecimal getAmount() {
		return amount;
	}
	/**
	 * 设置：保证金额
	 */
	public void setEnsureAmount(BigDecimal ensureAmount) {
		this.ensureAmount = ensureAmount;
	}
	/**
	 * 获取：保证金额
	 */
	public BigDecimal getEnsureAmount() {
		return ensureAmount;
	}
	/**
	 * 设置：冻结金额
	 */
	public void setFrozenAmount(BigDecimal frozenAmount) {
		this.frozenAmount = frozenAmount;
	}
	/**
	 * 获取：冻结金额
	 */
	public BigDecimal getFrozenAmount() {
		return frozenAmount;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getCreateDate() {
		return createDate;
	}
	/**
	 * 设置：更新时间
	 */
	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}
	/**
	 * 获取：更新时间
	 */
	public Date getUpdateDate() {
		return updateDate;
	}
}
